<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">

  <h:body>

    <ui:insert name="content" >
      <ui:include src="template.xhtml" />
    </ui:insert>

    <!-- container -->
    <div id="content">
      <div class="container">

        <!-- /.page-title -->
        <div id="page-title" class="clearfix">
          <ul class="breadcrumb">
            <li>
              <a href="../index.jsf">Home</a> <span class="divider">/</span>
            </li>
            <li>
              <a href="#">Previdências</a> <span class="divider">/</span>
            </li>
            <li class="active">Previdencia</li>
          </ul>
        </div> 
        <!-- /.page-title -->

        <div class="row">
          <div class="span3">
            <div id="horizontal" class="widget widget-form">
              <div class="widget-header">	      				
                <h3><i class="icon-pencil"></i>Atividades</h3>	
              </div>

            </div>
          </div>

          <div class="span9">
            <div id="horizontal" class="widget widget-form">
              <div class="widget-header">	      				
                <h3><i class="icon-pencil"></i>Lista de Previdências</h3>	
                <h:form id="form">  
                  <p:dataTable var="varPrevidencia" value="#{previdenciaBean.previdencia}">  
                    
                    <p:column headerText="CNPJ">  
                      #{varPrevidencia.nuCnpj}
                    </p:column>
                    
                    <p:column headerText="Nome Fantasia">  
                      #{varPrevidencia.nmFantasia}
                    </p:column>

                  </p:dataTable>
                    
                </h:form>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </h:body>
</html>
